<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcoap: coap_context_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libcoap<span id="projectnumber">&#160;4.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('structcoap__context__t.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle"><div class="title">coap_context_t Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p>The CoAP stack's global state is stored in a <a class="el" href="structcoap__context__t.html" title="The CoAP stack&#39;s global state is stored in a coap_context_t object.">coap_context_t</a> object.  
 <a href="structcoap__context__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="net_8h_source.html">net.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a907e852e962a4ecafc3706c6b0d2e2d2" id="r_a907e852e962a4ecafc3706c6b0d2e2d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__opt__filter.html#ga001c5b06ae9e02996509516871cb69a8">coap_opt_filter_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a907e852e962a4ecafc3706c6b0d2e2d2">known_options</a></td></tr>
<tr class="separator:a907e852e962a4ecafc3706c6b0d2e2d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf441070f9b1f2aea225fc61b60a6bb8" id="r_aaf441070f9b1f2aea225fc61b60a6bb8"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__resource__t.html">coap_resource_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#aaf441070f9b1f2aea225fc61b60a6bb8">resources</a></td></tr>
<tr class="memdesc:aaf441070f9b1f2aea225fc61b60a6bb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">hash table or list of known resources  <br /></td></tr>
<tr class="separator:aaf441070f9b1f2aea225fc61b60a6bb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a85c3d3e14611f74907b47b20a83b6e" id="r_a3a85c3d3e14611f74907b47b20a83b6e"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__resource__t.html">coap_resource_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a3a85c3d3e14611f74907b47b20a83b6e">unknown_resource</a></td></tr>
<tr class="memdesc:a3a85c3d3e14611f74907b47b20a83b6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">can be used for handling unknown resources  <br /></td></tr>
<tr class="separator:a3a85c3d3e14611f74907b47b20a83b6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f287951eac36a9488fd9524eb1cbdb8" id="r_a4f287951eac36a9488fd9524eb1cbdb8"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__async__state__t.html">coap_async_state_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a4f287951eac36a9488fd9524eb1cbdb8">async_state</a></td></tr>
<tr class="memdesc:a4f287951eac36a9488fd9524eb1cbdb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of asynchronous transactions  <br /></td></tr>
<tr class="separator:a4f287951eac36a9488fd9524eb1cbdb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a080dc026c9eec48849d0140b433e04bb" id="r_a080dc026c9eec48849d0140b433e04bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a080dc026c9eec48849d0140b433e04bb">sendqueue_basetime</a></td></tr>
<tr class="memdesc:a080dc026c9eec48849d0140b433e04bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time stamp in the first element of the sendqeue is relative to sendqueue_basetime.  <br /></td></tr>
<tr class="separator:a080dc026c9eec48849d0140b433e04bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1e842d6431edb653dcfb117c237657f" id="r_aa1e842d6431edb653dcfb117c237657f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__queue__t.html">coap_queue_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#aa1e842d6431edb653dcfb117c237657f">sendqueue</a></td></tr>
<tr class="separator:aa1e842d6431edb653dcfb117c237657f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7d5935f4a3e1c94fa6bb12bf6400006" id="r_ab7d5935f4a3e1c94fa6bb12bf6400006"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__endpoint__t.html">coap_endpoint_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#ab7d5935f4a3e1c94fa6bb12bf6400006">endpoint</a></td></tr>
<tr class="memdesc:ab7d5935f4a3e1c94fa6bb12bf6400006"><td class="mdescLeft">&#160;</td><td class="mdescRight">the endpoints used for listening <br  />
  <br /></td></tr>
<tr class="separator:ab7d5935f4a3e1c94fa6bb12bf6400006"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5984a41d68fae2a68703f6afd940671f" id="r_a5984a41d68fae2a68703f6afd940671f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__session__t.html">coap_session_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a5984a41d68fae2a68703f6afd940671f">sessions</a></td></tr>
<tr class="memdesc:a5984a41d68fae2a68703f6afd940671f"><td class="mdescLeft">&#160;</td><td class="mdescRight">client sessions  <br /></td></tr>
<tr class="separator:a5984a41d68fae2a68703f6afd940671f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6aba2771228fc473f42ed37c73948e4" id="r_aa6aba2771228fc473f42ed37c73948e4"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#aa6aba2771228fc473f42ed37c73948e4">message_id</a></td></tr>
<tr class="memdesc:aa6aba2771228fc473f42ed37c73948e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The last message id that was used is stored in this field.  <br /></td></tr>
<tr class="separator:aa6aba2771228fc473f42ed37c73948e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaeae5156b5641ce3a0bb6d13f5c226d2" id="r_aaeae5156b5641ce3a0bb6d13f5c226d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="net_8h.html#ae74b51652af6ed6620d101dc9a8a2431">coap_response_handler_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#aaeae5156b5641ce3a0bb6d13f5c226d2">response_handler</a></td></tr>
<tr class="separator:aaeae5156b5641ce3a0bb6d13f5c226d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a610b7410b2c13c8908590d671243f125" id="r_a610b7410b2c13c8908590d671243f125"><td class="memItemLeft" align="right" valign="top"><a class="el" href="net_8h.html#a4f398929eef5944941ec6aa790f3abea">coap_nack_handler_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a610b7410b2c13c8908590d671243f125">nack_handler</a></td></tr>
<tr class="separator:a610b7410b2c13c8908590d671243f125"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92b6634824600447d806e34e9cf58f9e" id="r_a92b6634824600447d806e34e9cf58f9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="net_8h.html#a4441ca51ddb6294729bd5f6971769d5f">coap_ping_handler_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a92b6634824600447d806e34e9cf58f9e">ping_handler</a></td></tr>
<tr class="separator:a92b6634824600447d806e34e9cf58f9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a094b3eaad04393ebf8527f6f6b58112e" id="r_a094b3eaad04393ebf8527f6f6b58112e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="net_8h.html#a89aa2bb8a2345d32463a27fa5a4a5acc">coap_pong_handler_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a094b3eaad04393ebf8527f6f6b58112e">pong_handler</a></td></tr>
<tr class="separator:a094b3eaad04393ebf8527f6f6b58112e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaa625e1c87b88a1dc48bd0d895185d9" id="r_acaa625e1c87b88a1dc48bd0d895185d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__events.html#ga47e52d9f286d209a75c5e2ce34af67ac">coap_event_handler_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#acaa625e1c87b88a1dc48bd0d895185d9">handle_event</a></td></tr>
<tr class="memdesc:acaa625e1c87b88a1dc48bd0d895185d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback function that is used to signal events to the application.  <br /></td></tr>
<tr class="separator:acaa625e1c87b88a1dc48bd0d895185d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75eedd9da9c35fbbffce222fac0d6f1a" id="r_a75eedd9da9c35fbbffce222fac0d6f1a"><td class="memItemLeft" align="right" valign="top">ssize_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a75eedd9da9c35fbbffce222fac0d6f1a">network_send</a> )(<a class="el" href="structcoap__socket__t.html">coap_socket_t</a> *sock, const <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data, size_t datalen)</td></tr>
<tr class="separator:a75eedd9da9c35fbbffce222fac0d6f1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ad04b95f7ee48fa3575f142a81c3b99" id="r_a1ad04b95f7ee48fa3575f142a81c3b99"><td class="memItemLeft" align="right" valign="top">ssize_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a1ad04b95f7ee48fa3575f142a81c3b99">network_read</a> )(<a class="el" href="structcoap__socket__t.html">coap_socket_t</a> *sock, struct <a class="el" href="structcoap__packet__t.html">coap_packet_t</a> *packet)</td></tr>
<tr class="separator:a1ad04b95f7ee48fa3575f142a81c3b99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae412c9932b9ced3c778d6029d21493c7" id="r_ae412c9932b9ced3c778d6029d21493c7"><td class="memItemLeft" align="right" valign="top">size_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#ae412c9932b9ced3c778d6029d21493c7">get_client_psk</a> )(const <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *hint, size_t hint_len, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *identity, size_t *identity_len, size_t max_identity_len, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *psk, size_t max_psk_len)</td></tr>
<tr class="separator:ae412c9932b9ced3c778d6029d21493c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71aa494865b061f72ec0ecd633aa4e7f" id="r_a71aa494865b061f72ec0ecd633aa4e7f"><td class="memItemLeft" align="right" valign="top">size_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a71aa494865b061f72ec0ecd633aa4e7f">get_server_psk</a> )(const <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *identity, size_t identity_len, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *psk, size_t max_psk_len)</td></tr>
<tr class="separator:a71aa494865b061f72ec0ecd633aa4e7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca05833745124e6987489c8ecfebcb63" id="r_aca05833745124e6987489c8ecfebcb63"><td class="memItemLeft" align="right" valign="top">size_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#aca05833745124e6987489c8ecfebcb63">get_server_hint</a> )(const <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *hint, size_t max_hint_len)</td></tr>
<tr class="separator:aca05833745124e6987489c8ecfebcb63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e2737b90beb8afce13a6ef2bea87f4" id="r_a85e2737b90beb8afce13a6ef2bea87f4"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a85e2737b90beb8afce13a6ef2bea87f4">dtls_context</a></td></tr>
<tr class="separator:a85e2737b90beb8afce13a6ef2bea87f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad724d5cbe61f367fc10162668c31c0a8" id="r_ad724d5cbe61f367fc10162668c31c0a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#ad724d5cbe61f367fc10162668c31c0a8">psk_hint</a></td></tr>
<tr class="separator:ad724d5cbe61f367fc10162668c31c0a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f715479db8671158a800ac14ef3ada3" id="r_a0f715479db8671158a800ac14ef3ada3"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a0f715479db8671158a800ac14ef3ada3">psk_hint_len</a></td></tr>
<tr class="separator:a0f715479db8671158a800ac14ef3ada3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab12d8e6ea4ec3ec2f196bd088d280f81" id="r_ab12d8e6ea4ec3ec2f196bd088d280f81"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#ab12d8e6ea4ec3ec2f196bd088d280f81">psk_key</a></td></tr>
<tr class="separator:ab12d8e6ea4ec3ec2f196bd088d280f81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2e8cc51d43707399bf19226afca7cd4" id="r_af2e8cc51d43707399bf19226afca7cd4"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#af2e8cc51d43707399bf19226afca7cd4">psk_key_len</a></td></tr>
<tr class="separator:af2e8cc51d43707399bf19226afca7cd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7763d29c588f1b11b4c75820999066f" id="r_ad7763d29c588f1b11b4c75820999066f"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#ad7763d29c588f1b11b4c75820999066f">session_timeout</a></td></tr>
<tr class="memdesc:ad7763d29c588f1b11b4c75820999066f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of seconds of inactivity after which an unused session will be closed.  <br /></td></tr>
<tr class="separator:ad7763d29c588f1b11b4c75820999066f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff37d887e0a881a33f6e99f9a75d36b2" id="r_aff37d887e0a881a33f6e99f9a75d36b2"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#aff37d887e0a881a33f6e99f9a75d36b2">max_idle_sessions</a></td></tr>
<tr class="memdesc:aff37d887e0a881a33f6e99f9a75d36b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of simultaneous unused sessions per endpoint.  <br /></td></tr>
<tr class="separator:aff37d887e0a881a33f6e99f9a75d36b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa07fd7e9c4a2ddc0a4d9b5149a885caf" id="r_aa07fd7e9c4a2ddc0a4d9b5149a885caf"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#aa07fd7e9c4a2ddc0a4d9b5149a885caf">max_handshake_sessions</a></td></tr>
<tr class="memdesc:aa07fd7e9c4a2ddc0a4d9b5149a885caf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of simultaneous negotating sessions per endpoint.  <br /></td></tr>
<tr class="separator:aa07fd7e9c4a2ddc0a4d9b5149a885caf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a653c88c399ffa1dc3661ffdb9daabc2a" id="r_a653c88c399ffa1dc3661ffdb9daabc2a"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a653c88c399ffa1dc3661ffdb9daabc2a">ping_timeout</a></td></tr>
<tr class="memdesc:a653c88c399ffa1dc3661ffdb9daabc2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum inactivity time before sending a ping message.  <br /></td></tr>
<tr class="separator:a653c88c399ffa1dc3661ffdb9daabc2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dafa5220ce428f5788c5d08adde4838" id="r_a2dafa5220ce428f5788c5d08adde4838"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a2dafa5220ce428f5788c5d08adde4838">csm_timeout</a></td></tr>
<tr class="memdesc:a2dafa5220ce428f5788c5d08adde4838"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timeout for waiting for a CSM from the remote side.  <br /></td></tr>
<tr class="separator:a2dafa5220ce428f5788c5d08adde4838"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e8ee7fcc1a46e74ea80484a7025a9c3" id="r_a2e8ee7fcc1a46e74ea80484a7025a9c3"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__context__t.html#a2e8ee7fcc1a46e74ea80484a7025a9c3">app</a></td></tr>
<tr class="memdesc:a2e8ee7fcc1a46e74ea80484a7025a9c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">application-specific data  <br /></td></tr>
<tr class="separator:a2e8ee7fcc1a46e74ea80484a7025a9c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The CoAP stack's global state is stored in a <a class="el" href="structcoap__context__t.html" title="The CoAP stack&#39;s global state is stored in a coap_context_t object.">coap_context_t</a> object. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00148">148</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a2e8ee7fcc1a46e74ea80484a7025a9c3" name="a2e8ee7fcc1a46e74ea80484a7025a9c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e8ee7fcc1a46e74ea80484a7025a9c3">&#9670;&#160;</a></span>app</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* coap_context_t::app</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>application-specific data </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00219">219</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a4f287951eac36a9488fd9524eb1cbdb8" name="a4f287951eac36a9488fd9524eb1cbdb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f287951eac36a9488fd9524eb1cbdb8">&#9670;&#160;</a></span>async_state</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__async__state__t.html">coap_async_state_t</a>* coap_context_t::async_state</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>list of asynchronous transactions </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00158">158</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a2dafa5220ce428f5788c5d08adde4838" name="a2dafa5220ce428f5788c5d08adde4838"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2dafa5220ce428f5788c5d08adde4838">&#9670;&#160;</a></span>csm_timeout</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int coap_context_t::csm_timeout</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Timeout for waiting for a CSM from the remote side. </p>
<p>0 means disabled. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00217">217</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a85e2737b90beb8afce13a6ef2bea87f4" name="a85e2737b90beb8afce13a6ef2bea87f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85e2737b90beb8afce13a6ef2bea87f4">&#9670;&#160;</a></span>dtls_context</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* coap_context_t::dtls_context</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00207">207</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="ab7d5935f4a3e1c94fa6bb12bf6400006" name="ab7d5935f4a3e1c94fa6bb12bf6400006"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7d5935f4a3e1c94fa6bb12bf6400006">&#9670;&#160;</a></span>endpoint</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__endpoint__t.html">coap_endpoint_t</a>* coap_context_t::endpoint</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the endpoints used for listening <br  />
 </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00166">166</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="ae412c9932b9ced3c778d6029d21493c7" name="ae412c9932b9ced3c778d6029d21493c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae412c9932b9ced3c778d6029d21493c7">&#9670;&#160;</a></span>get_client_psk</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t(* coap_context_t::get_client_psk) (const <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *hint, size_t hint_len, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *identity, size_t *identity_len, size_t max_identity_len, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *psk, size_t max_psk_len)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00203">203</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="aca05833745124e6987489c8ecfebcb63" name="aca05833745124e6987489c8ecfebcb63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca05833745124e6987489c8ecfebcb63">&#9670;&#160;</a></span>get_server_hint</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t(* coap_context_t::get_server_hint) (const <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *hint, size_t max_hint_len)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00205">205</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a71aa494865b061f72ec0ecd633aa4e7f" name="a71aa494865b061f72ec0ecd633aa4e7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71aa494865b061f72ec0ecd633aa4e7f">&#9670;&#160;</a></span>get_server_psk</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t(* coap_context_t::get_server_psk) (const <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *identity, size_t identity_len, <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *psk, size_t max_psk_len)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00204">204</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="acaa625e1c87b88a1dc48bd0d895185d9" name="acaa625e1c87b88a1dc48bd0d895185d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acaa625e1c87b88a1dc48bd0d895185d9">&#9670;&#160;</a></span>handle_event</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__events.html#ga47e52d9f286d209a75c5e2ce34af67ac">coap_event_handler_t</a> coap_context_t::handle_event</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback function that is used to signal events to the application. </p>
<p>This field is set by <a class="el" href="group__events.html#ga29f689b91842169c70871f47852d1d92" title="Registers the function hnd as callback for events from the given CoAP context context.">coap_set_event_handler()</a>. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00197">197</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a907e852e962a4ecafc3706c6b0d2e2d2" name="a907e852e962a4ecafc3706c6b0d2e2d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a907e852e962a4ecafc3706c6b0d2e2d2">&#9670;&#160;</a></span>known_options</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__opt__filter.html#ga001c5b06ae9e02996509516871cb69a8">coap_opt_filter_t</a> coap_context_t::known_options</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00149">149</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="aa07fd7e9c4a2ddc0a4d9b5149a885caf" name="aa07fd7e9c4a2ddc0a4d9b5149a885caf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa07fd7e9c4a2ddc0a4d9b5149a885caf">&#9670;&#160;</a></span>max_handshake_sessions</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int coap_context_t::max_handshake_sessions</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Maximum number of simultaneous negotating sessions per endpoint. </p>
<p>0 means use default. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00215">215</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="aff37d887e0a881a33f6e99f9a75d36b2" name="aff37d887e0a881a33f6e99f9a75d36b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff37d887e0a881a33f6e99f9a75d36b2">&#9670;&#160;</a></span>max_idle_sessions</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int coap_context_t::max_idle_sessions</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Maximum number of simultaneous unused sessions per endpoint. </p>
<p>0 means no maximum. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00214">214</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="aa6aba2771228fc473f42ed37c73948e4" name="aa6aba2771228fc473f42ed37c73948e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6aba2771228fc473f42ed37c73948e4">&#9670;&#160;</a></span>message_id</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t coap_context_t::message_id</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The last message id that was used is stored in this field. </p>
<p>The initial value is set by <a class="el" href="net_8c.html#a1ab369ca0a3c4fe7f8a9e0536346ff71" title="Creates a new coap_context_t object that will hold the CoAP stack status.">coap_new_context()</a> and is usually a random value. A new message id can be created with <a class="el" href="net_8h.html#ade36148140b152d713b23d17bbcf0024" title="Returns a new message id and updates session-&gt;tx_mid accordingly.">coap_new_message_id()</a>. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00186">186</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a610b7410b2c13c8908590d671243f125" name="a610b7410b2c13c8908590d671243f125"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a610b7410b2c13c8908590d671243f125">&#9670;&#160;</a></span>nack_handler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="net_8h.html#a4f398929eef5944941ec6aa790f3abea">coap_nack_handler_t</a> coap_context_t::nack_handler</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00189">189</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a1ad04b95f7ee48fa3575f142a81c3b99" name="a1ad04b95f7ee48fa3575f142a81c3b99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ad04b95f7ee48fa3575f142a81c3b99">&#9670;&#160;</a></span>network_read</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ssize_t(* coap_context_t::network_read) (<a class="el" href="structcoap__socket__t.html">coap_socket_t</a> *sock, struct <a class="el" href="structcoap__packet__t.html">coap_packet_t</a> *packet)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00201">201</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a75eedd9da9c35fbbffce222fac0d6f1a" name="a75eedd9da9c35fbbffce222fac0d6f1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75eedd9da9c35fbbffce222fac0d6f1a">&#9670;&#160;</a></span>network_send</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ssize_t(* coap_context_t::network_send) (<a class="el" href="structcoap__socket__t.html">coap_socket_t</a> *sock, const <a class="el" href="structcoap__session__t.html">coap_session_t</a> *session, const <a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data, size_t datalen)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00199">199</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a92b6634824600447d806e34e9cf58f9e" name="a92b6634824600447d806e34e9cf58f9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92b6634824600447d806e34e9cf58f9e">&#9670;&#160;</a></span>ping_handler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="net_8h.html#a4441ca51ddb6294729bd5f6971769d5f">coap_ping_handler_t</a> coap_context_t::ping_handler</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00190">190</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a653c88c399ffa1dc3661ffdb9daabc2a" name="a653c88c399ffa1dc3661ffdb9daabc2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a653c88c399ffa1dc3661ffdb9daabc2a">&#9670;&#160;</a></span>ping_timeout</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int coap_context_t::ping_timeout</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Minimum inactivity time before sending a ping message. </p>
<p>0 means disabled. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00216">216</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a094b3eaad04393ebf8527f6f6b58112e" name="a094b3eaad04393ebf8527f6f6b58112e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a094b3eaad04393ebf8527f6f6b58112e">&#9670;&#160;</a></span>pong_handler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="net_8h.html#a89aa2bb8a2345d32463a27fa5a4a5acc">coap_pong_handler_t</a> coap_context_t::pong_handler</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00191">191</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="ad724d5cbe61f367fc10162668c31c0a8" name="ad724d5cbe61f367fc10162668c31c0a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad724d5cbe61f367fc10162668c31c0a8">&#9670;&#160;</a></span>psk_hint</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>* coap_context_t::psk_hint</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00208">208</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a0f715479db8671158a800ac14ef3ada3" name="a0f715479db8671158a800ac14ef3ada3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f715479db8671158a800ac14ef3ada3">&#9670;&#160;</a></span>psk_hint_len</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_context_t::psk_hint_len</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00209">209</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="ab12d8e6ea4ec3ec2f196bd088d280f81" name="ab12d8e6ea4ec3ec2f196bd088d280f81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab12d8e6ea4ec3ec2f196bd088d280f81">&#9670;&#160;</a></span>psk_key</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>* coap_context_t::psk_key</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00210">210</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="af2e8cc51d43707399bf19226afca7cd4" name="af2e8cc51d43707399bf19226afca7cd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2e8cc51d43707399bf19226afca7cd4">&#9670;&#160;</a></span>psk_key_len</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_context_t::psk_key_len</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00211">211</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="aaf441070f9b1f2aea225fc61b60a6bb8" name="aaf441070f9b1f2aea225fc61b60a6bb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf441070f9b1f2aea225fc61b60a6bb8">&#9670;&#160;</a></span>resources</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__resource__t.html">coap_resource_t</a>* coap_context_t::resources</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>hash table or list of known resources </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00150">150</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="aaeae5156b5641ce3a0bb6d13f5c226d2" name="aaeae5156b5641ce3a0bb6d13f5c226d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaeae5156b5641ce3a0bb6d13f5c226d2">&#9670;&#160;</a></span>response_handler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="net_8h.html#ae74b51652af6ed6620d101dc9a8a2431">coap_response_handler_t</a> coap_context_t::response_handler</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00188">188</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="aa1e842d6431edb653dcfb117c237657f" name="aa1e842d6431edb653dcfb117c237657f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1e842d6431edb653dcfb117c237657f">&#9670;&#160;</a></span>sendqueue</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__queue__t.html">coap_queue_t</a>* coap_context_t::sendqueue</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00165">165</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a080dc026c9eec48849d0140b433e04bb" name="a080dc026c9eec48849d0140b433e04bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a080dc026c9eec48849d0140b433e04bb">&#9670;&#160;</a></span>sendqueue_basetime</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a> coap_context_t::sendqueue_basetime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The time stamp in the first element of the sendqeue is relative to sendqueue_basetime. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00164">164</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="ad7763d29c588f1b11b4c75820999066f" name="ad7763d29c588f1b11b4c75820999066f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7763d29c588f1b11b4c75820999066f">&#9670;&#160;</a></span>session_timeout</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int coap_context_t::session_timeout</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of seconds of inactivity after which an unused session will be closed. </p>
<p>0 means use default. </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00213">213</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a5984a41d68fae2a68703f6afd940671f" name="a5984a41d68fae2a68703f6afd940671f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5984a41d68fae2a68703f6afd940671f">&#9670;&#160;</a></span>sessions</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__session__t.html">coap_session_t</a>* coap_context_t::sessions</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>client sessions </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00167">167</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<a id="a3a85c3d3e14611f74907b47b20a83b6e" name="a3a85c3d3e14611f74907b47b20a83b6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a85c3d3e14611f74907b47b20a83b6e">&#9670;&#160;</a></span>unknown_resource</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__resource__t.html">coap_resource_t</a>* coap_context_t::unknown_resource</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>can be used for handling unknown resources </p>

<p class="definition">Definition at line <a class="el" href="net_8h_source.html#l00152">152</a> of file <a class="el" href="net_8h_source.html">net.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="net_8h_source.html">net.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structcoap__context__t.html">coap_context_t</a></li>
    <li class="footer">Generated on Fri Dec 27 2024 09:57:44 for libcoap by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
